﻿/*
 *
 * utils.h
 *
 *  Created on: 2017-08-08
 *      Author: chenshisheng
 */

#ifndef TOUCH_UTILS_H_
#define TOUCH_UTILS_H_

#include "main.h"

#define Utils_CRC16(msg, len) Utils_Crc16Xmodem(msg, len)

uint16_t Utils_Crc16Xmodem(const void *data, unsigned int size);
uint8_t Utils_Crc8(const void *data, unsigned int size);

#endif /* TOUCH_UTILS_H_ */
